#include "interval.h"
#include <iostream>
using namespace std;
int main()
{
	{
		using namespace	Course:: adt;
		interval <double> u1 (5,20);
		interval <double> u2 (10,10);
		cout << "u1=" << u1 <<endl;
		cout << "u2= " << u2 << endl;
		cout << "U1+U2=" << (u1+u2) << endl;
		cout << "U1-U2=" <<  (u1-u2) << endl;
		cout << "U1*U2=" <<  (u1*u2) << endl;
		cout << "U1/U2=" <<  (u1/u2) << endl;
		/*(u1+u2).print_relative();*/
	}
	system("pause");
	return 0;
}